<template>
  <div class="home-container">
    <el-container>
      <!-- 侧边栏 -->
      <el-aside width="200px">
        <el-menu
          active-text-color="#ffd04b"
          background-color="#ffffff"
          class="el-menu-vertical"
          default-active="1"
          text-color="#1a202c"
          router
        >
        <div class="box">
          <img src="../../assets/1.jpg" alt="cw" style="width: 100%; height: 100%;" />
        </div>
        <el-menu-item index="/home/page1">
            <span>大数据统计界面</span>
          </el-menu-item>
          <el-menu-item index="/home/page2">
            <span>二手商品管理</span>
          </el-menu-item>
          <el-menu-item index="/home/page3">
            <span>用户管理管理</span>
          </el-menu-item>
          <el-menu-item index="/home/page4">
            <span>订单管理界面</span>
          </el-menu-item>
          <el-menu-item index="/home/page5">
            <span>投诉处理界面</span>
          </el-menu-item>
          <el-menu-item index="/home/page6">
            <span>个人信息界面</span>
          </el-menu-item>
        </el-menu>
      </el-aside>

     <!-- 主内容区 -->
  <el-main>
    <div class="bigbox">
      <router-view></router-view>
    </div>
  </el-main>
    </el-container>
  </div>


</template>

<script setup>

</script>

<style scoped>
.home-container {
  height: 100vh;
}
.el-menu-vertical {
  height: 100%;
}
.el-aside {
  color: #fff;
}
.el-main {
  padding: 20px;
}
.bigbox{
  width: 1800px;
  height: 100vh;
  background: #fff;
}
.box{
  width: 100%;
  height: 120px;
  background-color:brown;
  margin-bottom: 20px;
}
</style>